package datapool.skill
{
	import datapool.common.FightObject;
	import datapool.define.IDZoneDefine;
	/**
	 * @author Administrator
	 */
	public class SkillBase
	{
		protected var _skillId:uint;
		public var skillName:String;
		public var skillDesc:String;

		public var icoUrl:String;
				
		public function SkillBase():void
		{
			initSkillData();
		}
		
		protected function initSkillData():void
		{
			_skillId   = IDZoneDefine.ID_SKILL_START;
			skillName = "skillBase";
			skillDesc = "skillDesc";
			icoUrl    = "icoUrl";
		}
		
		//用相对值设置
		protected function setSkillId(id:uint):void
		{
			_skillId = _skillId+id;
		}
		
		//技能id的实际值
		public function get skillId():uint
		{
			return _skillId;
		}
		
		//获取相对于技能id起始的值
		public function get oppsiteSkillId():uint
		{
			return _skillId-IDZoneDefine.ID_SKILL_START;
		}
		
		public function doSkill(src:FightObject, dst:Array):void
		{
			
		}
	}
}
